package com.guiji.quartz.task;

import cn.wanghaomiao.xpath.exception.NoSuchAxisException;
import cn.wanghaomiao.xpath.exception.NoSuchFunctionException;
import cn.wanghaomiao.xpath.exception.XpathSyntaxErrorException;
import com.guiji.quartz.domain.Edwardjones;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @program: cms-vue-plus
 * @description:
 * @author: wangxw
 * @create: 2021-12-1 16:20
 **/
@Component("edwardjonesTask")
public class EdwardjonesTask {
	private static final Logger log = LoggerFactory.getLogger(EdwardjonesTask.class);

	public void edwardjones() throws NoSuchFunctionException, XpathSyntaxErrorException, NoSuchAxisException {
		Long startTime = System.currentTimeMillis();
		Edwardjones edwardjones = new Edwardjones();
		try {
			edwardjones.mainMethod();
		} catch (Exception e) {
		} finally {
			log.info("edwardjonesTask-end-:{}", System.currentTimeMillis() - startTime);
		}
	}
}

